package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class Curriculum {
    private Long id;

    //上课时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date date;

    //星期
    private String week;

    //班级
    private Grade grade;

    //课程
    private String course;

    //班主任
    private Employee charge;

    //任课老师
    private Employee teacher;

    //备注
    private String remark;

}